#include <iostream>
using namespace std;

class A
{
public:
    A()
    {
        cout<<"A"<<endl;
    }
    explicit A(int num) : m_num(num)
    {
        cout<<"A int"<<endl;
    }
    ~A()
    {
        cout<<"~A"<<endl;
    }
    int m_num;

};

class B : public A
{
public:
    B() : A(4)
    {
        cout<<"B"<<endl;
    }
    B(int count) : m_count(count)
    {
        cout<<"B int"<<endl;
    }
    ~B()
    {
        cout<<"~B"<<endl;
    }
    int m_count;
};

int main()
{
    A a;
    B b;
    
    
    return 0;
}